package com.zl.payment.service;

import com.zl.payment.entity.HistoryBill;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 黄军鹏
 * @since 2020-07-17
 */
public interface IHistoryBillService extends IService<HistoryBill> {

HistoryBill getHistoryBill(String creditCardId);

BigDecimal getTotalBill(String creditCardId, Date date );

boolean resetHistoryBill(String creditCardId,Date date);

boolean repayBill(String creditCardId,Date repayDate,BigDecimal amount,String cardNo);
}
